# @Version  :1.0
# @author   :章建龄
# @File     :20_ForExercise01.py
# @Time     : 2024/3/16 16:03
height = 100.0
nextTimeHeight = height / 2
print(f"第 1 次反弹的高度是{nextTimeHeight}m")
for i in range(2, 11):
    height += nextTimeHeight * 2
    nextTimeHeight /= 2
    print("第", i, "次反弹的高度是", nextTimeHeight, "m")
print(f"\n第10次落地时共经过{height}m")
